package com.ayuan.blog.common.wechat.user.bean;

import com.ayuan.blog.common.wechat.common.WeChatResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * Created by xiaozhu on 16/5/10.
 */
@Data
public class WeChatUserInfo extends WeChatResponse {

    @JsonProperty("subscribe")
    private Integer subscribe;

    @JsonProperty("openid")
    private String openid;

    @JsonProperty("nickname")
    private String nickname;

    @JsonProperty("sex")
    private Integer sex;

    @JsonProperty("language")
    private String language;

    @JsonProperty("city")
    private String city;

    @JsonProperty("province")
    private String province;

    @JsonProperty("country")
    private String country;

    @JsonProperty("headimgurl")
    private String headImgUrl;

    @JsonProperty("subscribe_time")
    private Long subscribe_time;

    @JsonProperty("unionid")
    private String unionId;

    @JsonProperty("remark")
    private String remark;

    @JsonProperty("groupid")
    private Integer groupId;
}
